package com.woniuxy.threeprojcet.end_water_project_admin.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 水量表
 * </p>
 *
 * @author Lucas
 * @since 2021-08-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wn_meterreading")
public class MeterReading implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 水量id
     */
    @TableId(value = "meter_reading_id", type = IdType.AUTO)
    private Integer meterReadingId;

    /**
     * 员工id
     */
    private Long employeeId;

    /**
     * 水表id
     */
    private String waterMeterId;

    /**
     * 用水量
     */
    private Double waterNum;

    /**
     * 抄表时间
     */
    private Date meterReadingTime;

    /**
     * 上次抄表时间
     */
    private Date lastMeterTime;

    /**
     * 缴费状态 0 未交费 1 已缴费
     */
    private Integer state;

    /**
     * 记录新增时间
     */
    private Date rawAddTime;

    /**
     * 记录修改时间
     */
    private Date rawUpdateTime;

    private Double price;

}
